SyncProc
 
Component SyncProc
Sync Processor
Component Level: High
Typical Usage:
(Examples of a typical usage of the component in user code. For more information please see the page Component Code Typical Usage.)

The following code measures vertical and horizontal frequency and set it to H and V variable: (assuming bean name "Sync1")
  word H;
  word V;
  byte ErrorCode;
  
  /* Measure horizontal frequency */
  ErrorCode = Sync1_GetHorizFreq(&H);
  /* Measure vertical frequency */
  ErrorCode = Sync1_GetVertFreq(&V);